package com.dimanche.module_home.ui;

import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.dimanche.library_base.constant.RouterPath;
import com.dimanche.module_home.BR;
import com.dimanche.module_home.R;
import com.dimanche.module_home.databinding.ActivityHomeBinding;
import com.gyf.immersionbar.ImmersionBar;

import me.goldze.mvvmhabit.base.BaseActivity;

/**
 * author : Dimanche
 * date   : 2021/3/8 15:18
 * desc   :
 * version: 1.0
 */
@Route(path = RouterPath.Home.AC_HOME)
public class HomeActivity extends BaseActivity<ActivityHomeBinding, HomeViewModel> {


    @Override
    public int initContentView(Bundle savedInstanceState) {
        ImmersionBar.with(this).init();
        return R.layout.activity_home;
    }

    @Override
    public int initVariableId() {
        return BR.viewmodel;
    }
}
